package com.killer;

import android.content.Intent;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);


        findViewById(R.id.btn1).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // app图标部分
                Intent intent = new Intent(MainActivity.this, TitleActivity.class);
                startActivity(intent);
            }
        });
       findViewById(R.id.btn2).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // 导航模式
                Intent intent = new Intent(MainActivity.this, NavigationModeActivity.class);
                startActivity(intent);

            }
        });

        findViewById(R.id.btn3).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // 操作按钮部分
                Intent intent = new Intent(MainActivity.this, ActionButtonActivity.class);
                startActivity(intent);
            }
        });
        findViewById(R.id.btn4).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // splite模式
                Intent intent = new Intent(MainActivity.this, SplitActivity.class);
                startActivity(intent);

            }
        });
        findViewById(R.id.btn5).setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // splite模式
                Intent intent = new Intent(MainActivity.this, ActionModeActivity.class);
                startActivity(intent);

            }
        });
    }
}
